package aupdg.data.model.impl;

/**
 * LDG's if-node.
 *
 * @author AA and CJ
 */
public class AuIfNode extends AuGenericNode {

    /**
     * To keep track of the place's ID, decision point, from which this node was
     * generated.
     */
    private String innerPlace;

    /**
     * Default constructor. Invokes the constructor of the superclass
     * AuGenericNode.
     */
    public AuIfNode() {
        super("IF");
    }

    /**
     * Sets the inner place from which this node was generated.
     *
     * @param innerPlace
     */
    public void setInnerPlace(String innerPlace) {
        this.innerPlace = innerPlace;
    }

    /**
     * Returns the inner place from which this node was generated.
     *
     * @return
     */
    public String getInnerPlace() {
        return innerPlace;
    }
}
